
#MESSAGE(STATUS "add project: name=" ${project_name} ",type=" ${project_type} ",target_platform=" ${project_target_platform})

# 检查并开启MASM汇编器
#ENABLE_LANGUAGE(ASM_MASM) 
#IF(CMAKE_ASM_MASM_COMPILER_WORKS) 
#    message("---：")
#ENDIF() 

#文件 
SET(project_source_file_list
	${CMAKE_CURRENT_SOURCE_DIR}/../../libs/system/src/error_code.cpp
)



#ADD_DEFINITIONS(-DBOOST_SYSTEM_STATIC_LINK)
#get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS )
ADD_LIBRARY(boost_cm_system_static STATIC ${project_source_file_list})
SET_TARGET_PROPERTIES(boost_cm_system_static PROPERTIES
    COMPILE_DEFINITIONS BOOST_SYSTEM_STATIC_LINK=1)

ADD_LIBRARY(boost_cm_system SHARED ${project_source_file_list})
SET_TARGET_PROPERTIES(boost_cm_system PROPERTIES
    COMPILE_DEFINITIONS BOOST_SYSTEM_DYN_LINK=1)







